package com.coreservlets.jsf.ss06;

public class Customer 
{
	private String id;
	private String firstName;
	private String lastName;
	private double balance;
	
	public Customer(String id, String firstName, String lastName, double balance) 
	{
		this.id = id;
		this.firstName = firstName;
		this.lastName = lastName;
		this.balance = balance;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getFirstName() {
		return firstName;
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public String getLastName() {
		return lastName;
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	public double getBalance() {
		return balance;
	}
	public void setBalance(Double balance) {
		this.balance = balance;
	}
	
	public double balanceNoSign()
	{
		return Math.abs(balance);
	}
}
